
@extends('home.base')
@section('content')
		
	<style>html { font-size: 12px; color: #404040; font-family: 'Microsoft YaHei','Arial','SimSun'; }
body, button, ul, li, ol, p, dl, dd, h1, h2, h3, h4, h5, h6, img, iframe, form, div { margin: 0; padding: 0; list-style-type: none; border: 0; }
#bd { width: 1200px; margin: 0 auto; background: #fff; }
.aside { width: 220px; float: left; }
.article { width: 960px; float: right; }
.narrow_page #bd { width: 960px; }
.narrow_page .article { width: 720px; }
.narrow_page .banner { width: 720px; }
.narrow_page .filter_box ul { width: 540px!important; }
.narrow_page .filter_box .list dd { width: 570px; }
.narrow_page .filter_box .list dd a { margin-right: 8px; }
.narrow_page .filter_box .list .brand_opt { width: 570px; }
.narrow_page .filter_box .list .pic_c { width: 610px; _width: 606px; }
.narrow_page .filter_relative .switch_btn { width: 720px; }
.narrow_page .shoplist { width: 720px; }
.narrow_page .popular_box { padding-left: 6px; }
.narrow_page #go_top{ margin-left: 482px!important;  }</style>   
<style>.aside{width:220px;}.tools_box{width:960px;}body, button, ul, li, ol, p, dl, dd, h1, h2, h3, h4, h5, h6, img, iframe, form { margin: 0; padding: 0; list-style-type: none; border: 0; }
.reco_wrap .recommend .btn_slide span, .reco_wrap .recommend .starlevel,.reco_wrap .recommend .pic_wrap .operate a { background: url(images/model/category/bg_reco_new.png) no-repeat; }
.reco_wrap {  background-color:#fff; border: 1px solid #d1d1d1; color: #404040; font-size: 12px; font-family: SimSun,Arial; margin: 0 auto 20px; width: 958px; clear: both; }
.reco_wrap i { font-style: normal; }
.reco_wrap a { text-decoration: none; color: #1a66b3; }
.reco_wrap a:hover { text-decoration: underline; }
.reco_wrap .right { float: right; font-size: 12px; font-weight: normal; margin-right: 15px; color: #666; }
.reco_wrap .right a { margin-left: 5px; }
.reco_wrap .orange { color: #f60; }
.reco_wrap .gray {color:#878787;}
.reco_wrap .tab { font-size:0; height: 34px; line-height: 34px;}
.reco_wrap .tab a {background-color:#f7f7f7;color:#878787;display:inline-block;font-size:14px;width:50%;text-align:center;font-weight:bold;border:1px solid #d1d1d1;border-width:0 0 1px 1px;margin-left:-1px;}
.reco_wrap .tab a:hover {text-decoration:none;}
.reco_wrap .tab .on {background-color:#fff;color:#404040; cursor:default;border-bottom:none;}
.reco_wrap .recommend { position: relative;width:958px;padding-top:40px; }
.reco_wrap .recommend .pages {text-align:right;position:absolute;right:10px;top:14px;}
.reco_wrap .recommend .btn_slide {display: block; height: 260px; width: 34px; position: absolute; top: 115px; text-align: center; }
.reco_wrap .recommend .prev, .reco_wrap .recommend .prev_none { left: 0;}
.reco_wrap .recommend .next, .reco_wrap .recommend .next_none { right:0; }
.reco_wrap .recommend .next_none, .reco_wrap .recommend .prev_none { cursor:default; }
.reco_wrap .recommend .btn_slide span { display: inline-block; height: 31px; width: 18px; margin-top: 115px;overflow:hidden; }
.reco_wrap .recommend .prev span { background-position: 0 -26px; }
.reco_wrap .recommend .next span { background-position: -14px -26px; }
.reco_wrap .recommend a.prev:hover span { background-position: -33px -26px; }
.reco_wrap .recommend a.next:hover span { background-position: -47px -26px; }
.reco_wrap .recommend .prev_none span, .reco_wrap .recommend a.prev_none:hover span { background-position: -66px -26px; }
.reco_wrap .recommend .next_none span, .reco_wrap .recommend a.next_none:hover span { background-position: -80px -26px; }
.reco_wrap .recommend .over { width: 890px; height: 520px; margin-left:35px; overflow: hidden; position: relative; }
.reco_wrap .recommend .over ul { position: absolute;width:910px;}
.reco_wrap .recommend .over li { float: left; height: 260px; margin-right:30px; width: 152px;_margin-right:16px; }
.reco_wrap .recommend .over .pic { padding: 1px; height: 150px; width: 150px; display: block; margin-bottom: 3px; text-align: center; }
.reco_wrap .recommend .over a.pic:hover,.reco_wrap .recommend .over .pic_wrap .pic_on { padding: 0; border: 1px solid #ffa069; }
.reco_wrap .recommend .over .price_p { padding-bottom:5px; } 
.reco_wrap .recommend .over .d_price { margin-right: 12px; font-family: arial; color: #c30; font-weight: bold; }
.reco_wrap .recommend .over .m_price { color: #878787; font-family: Arial; background:url(images/model/category/bg_through.gif) repeat-x center 8px; }
.reco_wrap .recommend .over .name {color:#404040; line-height: 21px; _line-height: 18px; height: 42px; overflow: hidden; display: block; word-break: break-all; word-wrap: break-word;margin-bottom:5px; }
.reco_wrap .recommend .over a.name:hover {color:#f60;}
.reco_wrap .recommend .starlevel { height: 12px; overflow: hidden; position: relative; top: -2px; width: 60px; margin-right: 8px; display: inline-block; vertical-align: middle; }
.reco_wrap .recommend .s5 { background-position: 0 0; }
.reco_wrap .recommend .s4_5 { background-position: 0 -14px; }
.reco_wrap .recommend .s4 { background-position: -12px 0; }
.reco_wrap .recommend .s3_5 { background-position: -12px -14px; }
.reco_wrap .recommend .s3 { background-position: -24px 0; }
.reco_wrap .recommend .s2_5 { background-position: -24px -14px; }
.reco_wrap .recommend .s2 { background-position: -36px 0; }
.reco_wrap .recommend .s1_5 { background-position: -36px -14px; }
.reco_wrap .recommend .s1 { background-position: -48px 0; }
.reco_wrap .recommend .s0_5 { background-position: -48px -14px; }
.reco_wrap .recommend .s0 { background-position: -60px 0; }
.reco_wrap .recommend .red {color:#c30;padding-bottom:6px;}
.reco_wrap .recommend .price_p {width:165px;}
.reco_wrap .recommend .price_p .m_price {margin:0 3px 0 -3px;}
/* 窄版 960px 版本，外层容器加类narrow_page */
.narrow_page .reco_wrap,.narrow_page .reco_wrap .recommend { width: 718px; }
.narrow_page .reco_wrap .recommend .over { width: 668px;margin-left:25px; }
.narrow_page .reco_wrap .recommend .over li {margin-right:20px;_margin-right:5px;}
.narrow_page .reco_wrap .recommend .over ul{ width:738px;}
.narrow_page .reco_wrap .recommend .btn_slide {width:30px;}.tools_box { }
.book_shoplist { }                       
</style> 
           <body>
       <link rel="Stylesheet" type="text/css" href="{{asset('/list/header_150803.css')}}">
	   <link rel="Stylesheet" type="text/css" href="{{asset('/list/style.css')}}">
	  <link rel="Stylesheet" type="text/css" href="{{asset('/list/jj.css')}}">
	   
	



<link href="{{asset('/list/zzsc.css')}}" type="text/css" rel="stylesheet">

 
<script type="text/javascript" src="{{asset('/list/jquery.js')}}"></script>
<script type="text/javascript" src="{{asset('/list/cjquery.js')}}"></script>
<script type="text/javascript" src="{{asset('/list/jquery.min.js')}}"></script>


<body id="top">
	

	<div id="bd" name="4927">
			<div class="con " name="4929">
				<div class="" name="AD_topb">
					<div id="component_142916"></div>
					<div class="con ad_img_box">   
						<div id="ad_cpt_top_11824" class="topbanner_all">
							<div><a href="#" target="_blank" rel="nofollow"><img src="{{asset('/list/2016081519031993267.jpg')}}"></a></div>
						</div>
					</div>
				</div>
					<div class="spacer"></div><div id="component_142917"></div>            
					<div class="breadcrumb" id="B">
						<a href="#" name="B">图书</a><span>&gt;</span> 
						<a href="#" name="B">{{$dao1->name}}</a><span>&gt;</span> 
					
						<a href="#" name="B">{{$dao->name}}</a><span></span> 
						
						<span class="current"></span>
					</div>
				<div class="spacer"></div>
			</div>
			<div class="spacer"></div>
		<div class="con " name="4930">
			<div class="col aside" name="4931">
				<div class="" name="m142905_pid0_t4824">
					<div id="component_142905"></div>
					<div class="con " name="m142905_pid0_t4825">    
					<!--侧边栏开始-->
						<div class="subNavBox">
							@foreach($list1 as $a)
								<div class="subNav currentDd currentDt">{{$a->name}}</div>
									<ul class="navContent " style="display:block">
										@foreach($list2 as $b)
												@if($b->pid == $a->id)
												<li class="li"><a href="#" onclick="doloAdd({{$b->id}})">{{$b->name}}</a></li>
												@endif
										@endforeach
									</ul>
								@endforeach		
								</div>
								<script>
									$(".li a").click(function(){
										$(".li a").css("color","");
										$(this).css("color","red");
									});
									
									function doloAdd(id){
										
									}
								</script>
					<!--侧边栏结束-->
					</div>
				</div>
				<!--左侧商品推广-->
				<div class="spacer"></div>
				<div class="" name="AD_hot">
				<div id="component_268562"></div>
					<div class="con ">    
						<div id="cpc_0" class="abox ad_product">
							<h3>推广商品</h3>
							<ul class="list2">
							@foreach($tuiguang as $e=>$t)
								<li id="seq_{{$e++}}">
									<a href="#" class="pic" rel="nofollow" target="_blank"><img src="{{$t->src}}"></a>
									<p class="data"><a rel="nofollow" href="#" target="_blank">{{$t->name}}<br></a></p>
									<p class="red">{{$t->title}}</p>
									<p class="price_p"><span class="d_price">￥{{$t->newprice}}</span></p>
								</li>
							@endforeach
							</ul>
							<p class="tui"><a href="#" target="_blank">我要推广&gt;&gt;</a></p>
						</div>


					</div>
				</div>
				<!--end-->
				<div class="spacer"></div>
				<div id="component_268565"></div>
					<div id="reco_category_top" name="reco_category_top">
						<div class="top10_list">
							<div class="header">
								<div class="title">促销商品</div>
							</div>
							<div id="bang" class="body">
								<ul class="list aa">
								@foreach($cuxiao as $cu)
									<li class="line1">
										<span class="number"></span>
											<a title="{{$cu->title}}" class="img" href="#" target="_blank"><img src="{{$cu->src}}/{{$cu->photo}}" alt="{{$cu->title}}"></a>
											<p class="name"><a title="{{$cu->title}}" href="#" target="_blank">{{$cu->name}}</a></p>
											<p class="price"><span class="rob"><span class="sign">￥</span><span class="num">{{$cu->newprice}}</span></span></p>
									</li>
									@endforeach
								</ul>
							</div>
						</div>
					</div>
					<div class="spacer"></div>
					<div id="component_485598"></div>

						<div class="spacer"></div>
						<div id="component_485599"></div>
						<div class="spacer"></div>
						<div class="" name="m485600_pid0_t10285">
							<div id="component_485600"></div>
							<div class="con " name="m485600_pid0_t10286">
								
							</div>
						</div>
						<div class="spacer"></div>
			</div>		
		</div>
		<div class="vspacer"></div>
		<div class="col article" name="4932">
			<div class="" name="AD_4">
				<div id="component_142923"></div>
					<div class="con ">    
						<div id="cpc_cat_11824" class=""></div>
					</div>
			</div>
			<div class="spacer"></div>
			<div id="component_281337"></div>
			<!-- 筛选开始-->
			<div name="filtrate_box" class="filtrate_box">
				<ul class="select">
					@if(!empty($query))
						@if(!str_contains($query, 'newprice'))
					<li class="select-list">
						
						<dl id="select1">
						
							<dd class="select-all selected" ><a href="#">价格</a></dd>
							@foreach($shaixuan as $shai)
							
							<dd name="a1"><a href="{{url('/home/lable')}}?id={{  $id }}&newprice={{$shai->newprice}}{{ $query }}" >{{$shai->newprice}}</a></dd>
							@endforeach
						</dl>
					</li>
					@else
					<li></li>
					@endif
					@else
					<li class="select-list">
						
						<dl id="select1">
						
							<dd class="select-all selected" ><a href="#">价格</a></dd>
							@foreach($shaixuan as $shai)
							
							<dd name="a1"><a href="{{url('/home/lable')}}?id={{  $id }}&newprice={{$shai->newprice}}" >{{$shai->newprice}}</a></dd>
							@endforeach
						</dl>
					</li>
					@endif
					@if(!empty($query))
						@if(!str_contains($query, 'level'))
					<li class="select-list">
						<dl id="select2">
							<dd class="select-all selected"><a href="#">客户评分</a></dd>
							@foreach($shaixuan as $shai1)
							<dd name="b1"><a href="{{url('home/lable')}}?id={{$id}}&level={{$shai1->level}}{{ $query }}">{{$shai1->level}}星</a></dd>
							@endforeach
						</dl>
					</li>
					@else
					<li></li>
					@endif
					@else
					<li class="select-list">
						<dl id="select2">
							<dd class="select-all selected"><a href="#">客户评分</a></dd>
							@foreach($shaixuan as $shai1)
							<dd name="b1"><a href="{{url('home/lable')}}?id={{$id}}&level={{$shai1->level}}">{{$shai1->level}}星</a></dd>
							@endforeach
						</dl>
					</li>
					@endif
					@if(!empty($query))
						@if(!str_contains($query, 'zhekou'))
					<li class="select-list">
						<dl id="select3">
							<dd class="select-all selected"><a href="#">折扣</a></dd>
							@foreach($shaixuan as $shai2)
							<dd id="c1"><a href="{{url('home/lable')}}?id={{$id}}&zhekou={{$shai2->zhekou}}{{$query}}">{{$shai2->zhekou}}折</a></dd>
							@endforeach
						</dl>
					</li>
					@else
						<li></li>
					@endif
					@else
					<li class="select-list">
						<dl id="select3">
							<dd class="select-all selected"><a href="#">折扣</a></dd>
							@foreach($shaixuan as $shai2)
							<dd id="c1"><a href="{{url('home/lable')}}?id={{$id}}&zhekou={{$shai2->zhekou}}">{{$shai2->zhekou}}折</a></dd>
							@endforeach
						</dl>
					</li>
					@endif
					<li class="select-result">
						<dl>
							<dt>已选条件：</dt>
							@foreach($newArr as $kk=>$vv)
							@foreach($vv as $kkk=>$vvv)
							<a href="{{url('home/lable')}}?{{$newDelGet[$kk]}}">
							
								<dd class="select-no" >{!! $vvv !!}</dd>
							</a>
							@endforeach
							@endforeach
						</dl>
					</li>
				</ul>
			</div>
			
			<!--筛选结束-->
			<!--排序开始-->
			<div class="bk_sort" name="Sort">
				
					<div class="con tools_box">
						<div class="con top">
							
							<div class="sorting_box"></div>
							
							<div class="col ">

								<div class="data" name="Fy">共<span>{{count($list)}}</span>个商品
									<a class="arrow_l"></a>
										<span class="or">1</span><span>/1</span>
									<a class="arrow_r"></a>
								</div>
							</div>
						</div>
						<div class="con bottom">
							<div class="col "></div>
							
							<div class="col "></div>
							<div class="col ">    
								<div class="bottom_s">
									
								</div>
						<script type="text/javascript">
							$(function(){
								$(".bottom_s .opt .checkbox a").click(function(){
									
									$(".checkbox a").css("color","");
									$(this).css("color","red");
								});
								
							});
						</script>
							</div>
							
						</div>
					</div>
				</div>
				<!--结束-->
				<!--主体商品-->
				<div class="spacer"></div>
				<div id="component_2963530"></div>
				<div class="spacer"></div>
				<div class="book_shoplist" dd_utopia="on" name="Product">
					<div id="component_2963524"></div>
					<div class="con shoplist" id="show">   
						<ul class="list_aa listimg" id="component_0__0__3058">
						@foreach($list  as $v)
							@if($v->yushou==0)
								@if($v->cuxiao==0)
							<li class="line1" id="23532130">
								<div class="inner">
									<a title=" {{$v->name}} " class="pic" href="{{url('home/detail')}}?id={{$v->id}}&status={{$v->status}}" target="_blank"><img src="{{$v->src}}/{{$v->photo}}" alt=" {{$v->name}} "></a>
									<p class="name"><a title=" {{$v->name}} " href="{{url('home/detail')}}?id={{$v->id}}&status={{$v->status}}" target="_blank"> {{$v->name}} </a></p>
									<p class="star" style="color:#fc0">
										@for($i=0;$i<$v->level;$i++)
										   ★
										@endfor	
									<span class="level"><span style="">
									</span>
									</span><a href="#" target="_blank" name="P_pl">{{$v->num}}条评论</a></p>
									<div class="publisher_info">
										<p class="author"><span></span><a href="#" name="P_zz" title="藤子·F·不二雄">{{$v->auth}}</a></p>
										<p class="publishing_time"><span></span>/ {{$v->time}} </p>
										<p class="publishing"><span></span>/ <a href="#" name="P_cbs" title="{{$v->chubanshe}}">{{$v->chubanshe}}</a></p>
									</div>
									<p class="detail"> {{$v->main}} </p>
									<p class="dang" style="display: block;">当当自营</p>
									<form action="" id="myform" method="get">	
									<input id="buy_num" name="buy_num" value="1" type="hidden" />
									<p class="buy_button">
										<a class="listbtn_buy" name="Buy" onclick="shopCar({{$v->id}});" dd_name="加入购物车" href="#"><img src="{{asset('/list/1.png')}}"/></a>
										<a class="listbtn_collect" dd_name="加入收藏" id="lcase23532130" href="#" name="Sc" ddclick=""><img src="{{asset('/list/2.png')}}"></a>
									</p>
									</form>
									<p class="price"> 
										<span class="price_n">￥{{$v->newprice}}</span>
										<a style="color: #878787;text-decoration:none;">定价：</a>
										<span class="price_r">￥{{$v->oldprice}}</span>(<span class="price_s">{{round($v->newprice/$v->oldprice*10,2)}}折)</span>
									</p> 
									<p class="subtitle"> {{$v->title}} </p>
									<span class="tag_box" style=""></span>
								</div>
							</li>
							@endif
							@endif
						@endforeach
						</ul>
    
					</div>
				</div>
				<script type="text/javascript">
				//实现购物车提交
				function shopCar(id){
					$("#myform").attr("action","{{url('home/shop/add1')}}/"+id).submit(); 
				}
				</script>
				<!--主体结束-->
				<div class="spacer"></div>
				<div class="" name="m2963520_pid0_t3989">
					<div id="component_2963520"></div>
					<div class="con paginating" name="m2963520_pid0_t3990">

						
					</div>
				</div>
				<div class="spacer"></div>
				<div id="component_2963521"></div>        
    
				<div class="spacer"></div>
				<div id="component_2963522"></div>
				<div class="spacer"></div>
				<div id="component_2963523"></div>
				<div class="spacer"></div>
				<div class="" name="m2963528_pid0_t6972">
					<div id="component_2963528"></div>
					<div class="con " name="m2963528_pid0_t6973">
						<div class="spacer"></div>
						
							<div class="spacer"></div>
					</div>
				</div>
				<div class="spacer"></div>
				<div class="" name="m2963525_pid0_t5749">
					<div id="component_2963525"></div>
					<div class="con " name="m2963525_pid0_t5750">
						<style>
							.section{border:1px solid #eee;margin-top:10px;background-color:#fff;}
							.section ul{margin-left:40px;}
							.section ul li{float:left;margin-top:10px;margin-right:25px;margin-bottom:13px;display:inline;width:200px;height:210px;overflow:hidden;position:relative;}
							.section ul li .photo{width:200px;height:210px;overflow:hidden;}
							.section .rsp{width:200px;height:210px;overflow:hidden;position: absolute;background:#eee;top:0px;left:0px;}
							.section .text{position:absolute;width:200px;height:210px;left:-200px;top:0px;overflow:hidden;}
							.section .text h3{width:200px;margin-top:160px;height:40px;line-height:40px;text-align:center;color:#000;background:#fff;font-family:"微软雅黑";font-size:18px;}
							.tui{border:1px solid #eee;border-bottom:0px;margin-top:10px;height:40px;}
							.tui h3{line-height:40px;text-align:center;color:#000;background:#fff;font-family:"微软雅黑";font-size:18px;}
						</style>
						<div class="tui"><h3>商品推广</h3></div>
						<div class="section">
						<ul class="clearfix">
							<li>
								<div class="photo"><img src="{{asset('/list/1.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a></div>
							</li>
							<li>
								<div class="photo"><img src="{{asset('/list/2.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a></div>
							</li>
							<li>
								<div class="photo"><img src="{{asset('/list/3.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a></div>
							</li>
							<li>
								<div class="photo"><img src="{{asset('/list/4.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a></div>
							</li>
							<li>
								<div class="photo"><img src="{{asset('/list/5.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a> </div>
							</li>
							<li>
								<div class="photo"><img src="{{asset('/list/6.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a></div>
							</li>
							<li>
								<div class="photo"><img src="{{asset('/list/6.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a></div>
							</li>
							<li>
								<div class="photo"><img src="{{asset('/list/6.jpg')}}" width="200" height="210" /></div>
								<div class="rsp"></div>
								<div class="text"><a href="#"><h3>查看详情</h3></a></div>
							</li>
						</ul>
						
						</div>
					</div>
				</div>
				<div class="spacer"></div>
				<div class="" name="m2963526_pid0_t4010">
					<div id="component_2963526"></div>
					<div class="con ad_img_box" name="m2963526_pid0_t4011">  
						<div id="ad_cpt_bottom_catc_11824" class="" style="display: none;"></div>
					</div>
				</div>
				<div class="spacer"></div><div id="component_2963527"></div>
				<div class="spacer"></div><div id="component_2963529"></div>
				<div class="spacer"></div>
		</div>
	</div>
<script src="{{asset('/list/jquery-1.8.3.min.js')}}"></script>
<script>
$(function(){
	$(".section ul li .rsp").hide();
	$(".section	 ul li").hover(function(){
		$(this).find(".rsp").stop().fadeTo(500,0.5)
		$(this).find(".text").stop().animate({left:'0'}, {duration: 500})
	},function(){
		$(this).find(".rsp").stop().fadeTo(500,0)
		$(this).find(".text").stop().animate({left:'318'}, {duration: "fast"})
		$(this).find(".text").animate({left:'-318'}, {duration: 0})
	});
});
</script>
<script type="text/javascript">
$(function(){
	 $("#firstpane .menu_body:eq(0)").show();
	$("#firstpane h3.menu_head").click(function(){
		$(this).addClass("current").next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
		$(this).siblings().removeClass("current");
		$(".menu_head a").css("color","");
		$(this).find("a").css("color","#fd4708");
	});
	$("#secondpane .menu_body:eq(0)").show();
	$("#secondpane h3.menu_head").mouseover(function(){
		$(this).addClass("current").next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
		$(this).siblings().removeClass("current");
	});
	
	
});
</script>
<script type="text/javascript">
        $('.sort_box  li .m,.sort_box  li .t').hover(function (){
            $(this).parent().addClass('hover');
        }, function () {
            $(this).parent().removeClass('hover');
        });
</script>

<script type="text/javascript">
  $(document).ready(function(){
		 $('.son_ul').hide(); //初始ul隐藏
		 $('.select_bo span').hover(function(){ //鼠标移动函数
			 $(this).parent().find('ul.son_ul').slideDown();  //找到ul.son_ul显示
			$(this).parent().find('li').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover')}); //li的hover效果
			 $(this).parent().hover(function(){},
				 function(){
					$(this).parent().find("ul.son_ul").slideUp(); 
					 }
				 );
			},function(){});
		$('ul.son_ul li').click(function(){
			 $(this).parents('li').find('span').html($(this).html());
				$(this).parents('li').find('ul').slideUp();
					});
	});
</script>
<script type="text/javascript">
$(function(){
$(".subNav").click(function(){
			$(this).toggleClass("currentDd").siblings(".subNav").removeClass("currentDd")
			$(this).toggleClass("currentDt").siblings(".subNav").removeClass("currentDt")
			
			// 修改数字控制速度， slideUp(500)控制卷起速度
			$(this).next(".navContent").slideToggle(500).siblings(".navContent").slideUp(500);
	})	
})
</script>





<script>
    $(function(){
        $(this).find('.tempspacer').hide();     
    });
</script>
<script>
$(function(){
    $('.narrow_page .tools_box .bottom_s').hover(function(){
        $(this).addClass('bottom_inner');    
    },function(){
        $(this).removeClass('bottom_inner');
    });
});
</script>



<script type="text/javascript">
    $(function(){     
        $('#t__cp').keydown(function(e){
            if(e.keyCode==13){
                verifyListPages();
            }
        });
        $('#click_get_page').click(function(){
            verifyListPages();
        });
    });

    function verifyListPages(){
        var page=$.trim($('#t__cp').val());
        var max_page=1;
        re = /^[1-9]*[0-9]*[0-9]$/i; 
        if(!re.test(page)||page==0){                  
            alert('您好，请输入正确页码。');
            return false;                   
        }else{
            if(parseInt(page)>100){
                alert('您好，请输入正确页码。');
                return false;
            }else{       
                if(parseInt(page)>max_page){
                    
                    alert('您好，请输入正确页码。');
                    return false;
//                    var href_url = '/pgnone-cp01.09.03.06.00.00.html';
//                    //                        end_url = href_url;
//                    //                    
//                    window.location.href=end_url;
//                    return false;
                }else{
                     var href_url = '/pgnone-cp01.09.03.06.00.00.html';
                                            if (page == 1) {
                            end_url = href_url.replace('pgnone-','');
                        }else{
                            end_url = href_url.replace('pgnone','pg'+page);
                        }
                                        
                    window.location.href=end_url;
                }
            }
        }
    }
</script>


<script>
    $(function(){
        try{
            var minsize=1210;
            var screensize=screen.width;
            var isWide = 1;
            if(screensize<=minsize){
               isWide = 0;     
            }
            var pos = 7;
            var guan_id = 0;
                                    DD_AD.fetchCPCCat(pos,11824,guan_id,1,isWide,1);
                    } catch (e){
            
        }
    });
</script>

<script>
    $(function(){
        if($(window).scrollTop()==0){
            $("#returntop").hide();
        }
        $(window).scroll(function(){       
            var ViewHeight = $(window).height();
            if($(window).scrollTop() >= (ViewHeight-20)){
                $("#returntop").show();
            }else{
                $("#returntop").hide();
            }
        });
        $("#back_top").click(function(){
            $('body,html').animate({scrollTop:0},50);
            return false;
        });        
    });
</script>

<script>
$(function(){
    try{
       var ishavecpc=function(){
          if($("#cpc_tab").length==0){
                 $(".tab").addClass("one_tab");
                 $("#tagContent1").css('display','block');  
                 $("#tagContent0").css('display','none');
                 $('.reco_wrap .tab a').unbind("click");
                 clearInterval(scrollt);
                 
              }
       };
       var scrollt = setInterval(ishavecpc,1);
        }catch(e){}
    
    });
</script>
<script type="text/javascript">
    $(function(){
        
        $('.select_box').hover(function () {
            $(this).find('.select_pop').show();
        }, function () {
            $(this).find('.select_pop').hide();
        });
        $('.select_pop ul li').click(function () {
            $(this).parents('li').find("span").html($(this).html());
        });
       
    });
</script>

<script charset="gb2312" type="text/javascript">var width = 1; narrow = 0;</script>

<script src="{{asset('/list/dd.menu-aim.js')}}" charset="gb2312" type="text/javascript"></script>


<script>
$(function(){
$(".listimg>li").hover(
        function () {
            $(this).addClass("hover");
        },
        function () {
            $(this).removeClass("hover");
        });

        $(".bigimg>li").hover(
        function () {
            $(this).addClass("hover");
        },
        function () {
            $(this).removeClass("hover");
        });
});
</script>

<script src="{{asset('/list/getEbook.js')}}" type="text/javascript"></script>
<script src="{{asset('/list/LoginWindow.js')}}" type="text/javascript"></script><link href="{{asset('/list/win_login20150728.css')}}" rel="stylesheet" type="text/css">




<script type="text/javascript">
        $(document).ready(function () {
            $('.reco_wrap .tab a').click(function () {
                var index = $(this).index();
                var $reco = $(this).parents('.reco_wrap').find('.recommend');
                $(this).parents('.tab').children('a').removeClass('on');
                $(this).addClass('on');
                $reco.not($($reco.get(index)).show()).hide();
            })
        })
</script>
<script type="text/javascript" src="{{asset('/list/smart.js')}}"></script>

    
        
            <div id="footer">
<link href="{{asset('/list/footer_150526.css')}}" rel="stylesheet" type="text/css">

<script>
    var setTo = null;
    function showghotsearch(){
        clearTimeout(setTo);
        document.getElementById("hot_search_content").style.display="block";
    }
    function hidehotsearch(){
        setTo = setTimeout(function(){
          document.getElementById("hot_search_content").style.display="none";
        },100)                        
    }
</script>  
</div>

	</div>
</div>
</div>
<div id="footer_end"></div>
<!--CreateDate  2016-08-17 16:00:01--><script src="{{asset('/list/check_snbrowse.js')}}" type="text/javascript"></script>
<script type="text/javascript">login_session.browsePageOperate();</script>
<script type="text/javascript" src="{{asset('/list/js_tracker.js')}}"></script>
<script src="{{asset('/list/jquery-1.3.2.js')}}" type="text/javascript"></script>
<script type="text/javascript" src="{{asset('/list/script.js')}}"></script>

<noscript>&lt;img src="//stats.teller.cn/adv.gif?a=xT..hNvyCM_tldiECftJyo-LKP&amp;e=" style="display:none;"/&gt;</noscript><!-- 
5.17.48
mem
 --><!-- 
5.17.48
mem
 --><!-- 
5.17.48
mem
 --><!-- 
5.17.48
source
 --><!---backapi_hot_data--> 
   </div></body></html>
	@endsection